package com.suzhe.ymall.pay.enums;

public enum PayStatusEnum {


    WAIT_BUYER_PAY(1, "交易创建，等待买家付款"),
    TRADE_SUCCESS(2, "交易支付成功"),
    TRADE_FAILURE(3, "交易失败");

    private Integer code;
    private String desc;

    PayStatusEnum(Integer code, String msg) {
        this.code = code;
        this.desc = msg;
    }

    public Integer value(){
        return this.code;
    }

    public String desc(){
        return desc;
    }

}
